<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title><?= $setting['store']['values']['name'] ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="/assets/store/i/favicon.ico"/>
    <meta name="apple-mobile-web-app-title" content="<?= $setting['store']['values']['name'] ?>"/>
    <link rel="stylesheet" href="/assets/store/css/amazeui.min.css"/>
    <link rel="stylesheet" href="/assets/store/css/app.css"/>
    <link rel="stylesheet" href="//at.alicdn.com/t/font_783249_t6knt0guzo.css">
    <script src="/assets/store/js/jquery.min.js"></script>
    <script src="//at.alicdn.com/t/font_783249_e5yrsf08rap.js"></script>
    <script>
        BASE_URL = '<?= isset($base_url) ? $base_url : '' ?>';
        STORE_URL = '<?= isset($store_url) ? $store_url : '' ?>';
    </script>
    <!-----------------------快鲸社区的css js---------------------->
    <link rel="stylesheet" type="text/css" href="/assets/fastwhale_files/styles.css">
    <script type="text/javascript" src="/assets/fastwhale_files/jquery.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/jquery.ba-bbq.min.js.下载"></script>
    <link rel="stylesheet" href="/assets/fastwhale_files/bootstrap.min.css">
    <link rel="stylesheet" href="/assets/fastwhale_files/font-awesome.min.css">
    <link rel="stylesheet" href="/assets/fastwhale_files/jquery-ui.css">
    <link rel="stylesheet" href="/assets/fastwhale_files/jquery-ui.min.css">
    <link rel="stylesheet" href="/assets/fastwhale_files/ace-fonts.css">
    <link rel="stylesheet" href="/assets/fastwhale_files/ace.min.css" id="main-ace-style">
    <link rel="stylesheet" href="/assets/fastwhale_files/ace-skins.min.css">
    <link rel="stylesheet" href="/assets/fastwhale_files/ace-rtl.min.css">
    <link rel="stylesheet" href="/assets/fastwhale_files/global.css">
    <link rel="stylesheet" href="/assets/fastwhale_files/jquery-ui-timepicker-addon.css">
    <script type="text/javascript" src="/assets/fastwhale_files/jquery.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/jquery.ba-bbq.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/ace-extra.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/bootstrap.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/bootbox.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/jquery-ui.custom.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/jquery-ui.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/jquery.ui.touch-punch.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/jquery.easypiechart.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/jquery.sparkline.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/ace-elements.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/ace.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/WdatePicker.js.下载"></script><link href="/assets/fastwhale_files/WdatePicker.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/assets/fastwhale_files/jquery.yiigridview.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/jquery-ui-i18n.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/jquery-ui-timepicker-addon.min.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/echarts.min.js.下载"></script>
    <link rel="stylesheet" href="/assets/fastwhale_files/layui.css" media="all">
    <script src="/assets/fastwhale_files/layer.js.下载"></script>
    <link rel="stylesheet" href="/assets/fastwhale_files/layer.css" id="layui_layer_skinlayercss" style="">

    <style type="text/css">
        .jqstooltip {
            position: absolute;
            left: 0px;
            top: 0px;
            visibility: hidden;
            background: rgb(0, 0, 0) transparent;
            background-color: rgba(0, 0, 0, 0.6);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
            -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
            color: white;
            font: 10px arial, san serif;
            text-align: left;
            white-space: nowrap;
            padding: 5px;
            border: 1px solid white;
            z-index: 10000;
        }

        .jqsfield {
            color: white;
            font: 10px arial, san serif;
            text-align: left;
        }

        .statusSwitch, .orderValidSwitch, .unitShowSwitch, .authTypeSwitch {
            display: none;
        }

        #shopList .shopNameInput, #shopList .tagInput, #shopList .orderPrefixInput
        {
            font-size: 12px;
            color: black;
            display: none;
            width: 100%;
        }
        .btn.disabled,.btn[disabled],fieldset[disabled] .btn {
            pointer-events:auto;
        }
        .fl{ float:left;}
        .fr{ float:right;}
    </style>
    <style>
        .BMap_cpyCtrl{display:none;}
        input.ke-input-text {
            background-color: #FFFFFF;
            background-color: #FFFFFF!important;
            font-family: "sans serif",tahoma,verdana,helvetica;
            font-size: 12px;
            line-height: 24px;
            height: 24px;
            padding: 2px 4px;
            border-color: #848484 #E0E0E0 #E0E0E0 #848484;
            border-style: solid;
            border-width: 1px;
            display: -moz-inline-stack;
            display: inline-block;
            vertical-align: middle;
            zoom: 1;
        }
        .form-group>label{font-size:12px;line-height:24px;}
        #upload_pic_box{margin-top:20px;height:150px;}
        #upload_pic_box .upload_pic_li{width:130px;float:left;list-style:none;}
        #upload_pic_box img{width:100px;height:70px;border:1px solid #ccc;}
    </style>
    <script type="text/javascript" src="/assets/fastwhale_files/kindeditor.js.下载"></script>
    <script type="text/javascript">
        try{ace.settings.check('navbar' , 'fixed')}catch(e){}
        try{ace.settings.check('main-container' , 'fixed')}catch(e){}
        try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
        try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
    </script>

    <link rel="stylesheet" href="/assets/fastwhale_files/layer(1).css" id="layuicss-skinlayercss"><style type="text/css">.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}</style><style type="text/css">.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}</style>

<!--    <link rel="stylesheet" href="/assets/fastwhale_files/new-base.css">-->
    <link rel="stylesheet" href="/assets/fastwhale_files/font_1016180_nbqgawx25fh.css">
    <script type="text/javascript" src="/assets/fastwhale_files/layer.js(1).下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/qwebchannel.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/new-base.js.下载"></script>



    <script type="text/javascript" src="/assets/fastwhale_files/area.js.下载"></script>
    <script type="text/javascript">
        var static_public="./static/",static_path="./tpl/House/default/static/",merchant_index="/shequ.php?g=House&c=Index&a=index",choose_province="/shequ.php?g=House&c=Area&a=ajax_province",choose_city="/shequ.php?g=House&c=Area&a=ajax_city",choose_area="/shequ.php?g=House&c=Area&a=ajax_area",choose_circle="";
    </script>

    <script type="text/javascript" src="/assets/fastwhale_files/api" charset="utf-8"></script><script type="text/javascript" src="/assets/fastwhale_files/getscript"></script><script type="text/javascript" src="/assets/fastwhale_files/getscript(1)"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/map.js.下载"></script>

    <style>
        .BMap_cpyCtrl{display:none;}
        input.ke-input-text {
            background-color: #FFFFFF;
            background-color: #FFFFFF!important;
            font-family: "sans serif",tahoma,verdana,helvetica;
            font-size: 12px;
            line-height: 24px;
            height: 24px;
            padding: 2px 4px;
            border-color: #848484 #E0E0E0 #E0E0E0 #848484;
            border-style: solid;
            border-width: 1px;
            display: -moz-inline-stack;
            display: inline-block;
            vertical-align: middle;
            zoom: 1;
        }
        .form-group>label{font-size:12px;line-height:24px;}
        #upload_pic_box{margin-top:20px;height:150px;}
        #upload_pic_box .upload_pic_li{width:130px;float:left;list-style:none;}
        #upload_pic_box img{width:100px;height:70px;border:1px solid #ccc;}
    </style>
    <link rel="stylesheet" href="/assets/fastwhale_files/default.css">
    <script src="/assets/fastwhale_files/kindeditor.js.下载"></script>
    <script src="/assets/fastwhale_files/zh_CN.js.下载"></script>
    <link rel="stylesheet" href="/assets/fastwhale_files/mydialog.css"><link rel="stylesheet" href="file:///C:/Users/wangj/Desktop/pay/%E5%BF%AB%E9%B2%B8%E7%A4%BE%E5%8C%BAo2o%E7%B3%BB%E7%BB%9F%20-%20%E7%89%A9%E4%B8%9A%E5%90%8E%E5%8F%B0_files/skins/mydialog.css?4.1.7"><script type="text/javascript" src="/assets/fastwhale_files/jquery.artDialog.js.下载"></script>
    <script type="text/javascript" src="/assets/fastwhale_files/iframeTools.js.下载"></script>
    <script>
        KindEditor.ready(function(K) {
            var editor = K.editor({
                allowFileManager : true
            });
            K('#image3').click(function() {
                editor.uploadJson = "/shequ.php?g=House&c=Cashier&a=ajax_upload_pic";
                editor.loadPlugin('image', function() {
                    editor.plugin.imageDialog({
                        showRemote : false,
                        imageUrl : K('#url3').val(),
                        clickFn : function(url, title, width, height, border, align) {
                            var img = K('#village_logo_view');
                            img.attr("src",url);
                            img.show();
                            K("#village_logo").val(url);
                            editor.hideDialog();
                        }
                    });
                });
            });
            K('#weixin_qr_code_put').click(function() {
                editor.uploadJson = "/shequ.php?g=House&c=Cashier&a=ajax_upload_pic";
                editor.loadPlugin('image', function() {
                    editor.plugin.imageDialog({
                        showRemote : false,
                        imageUrl : K('#url3').val(),
                        clickFn : function(url, title, width, height, border, align) {
                            var img = K('#weixin_qr_code_view');
                            img.attr("src",url);
                            img.show();
                            K("#weixin_qr_code").val(url);
                            editor.hideDialog();
                        }
                    });
                });
            });
        });
    </script>
    <script type="text/javascript">
        var lock = 0, test;

        $('#edit_form').submit(function(){
            var old_pwd = $("#old_pwd").val();
            var new_pwd = $("#pwd").val();
            var sure_pwd = $("#sure_pwd").val();
            if (new_pwd) {
                if (!old_pwd) {
                    alert('请输入原密码！');
                    return false;
                }
                if (new_pwd.length < 6) {
                    alert('密码最少6位！');
                    return false;
                }
                if (new_pwd!=sure_pwd) {
                    alert('确认密码与新密码不一样！');
                    return false;
                }
            }

            $('#edit_form button[type="submit"]').prop('disabled',true).html('保存中...');
            if (lock = 1) {
                return;
            }
            lock = 1;
            $.post("/shequ.php?g=House&c=NewProperty&a=config_edit",$('#edit_form').serialize(),function(result){
                lock = 0;
                if(result.status == 1){
                    window.location.href = "/shequ.php?g=House&c=NewProperty&a=config";
                }else{
                    $('#edit_form button[type="submit"]').prop('disabled',false).html('<i class="ace-icon fa fa-check bigger-110"></i>保存');
                    alert(result.info);
                }
            })
            return false;
        });



    </script>


    <script>
        function newalert(title){
            bootbox.dialog({
                message: title,
                buttons: {
                    "success" : {
                        "label" : "确认",
                        "className" : "btn-sm btn-primary"
                    }
                }
            });
        }

        function alertshow(content){
            $('#popalertwindowcontent').html(content);
            $('#popalertwindow').show();
        }
    </script>
    <!-----------------------快鲸社区的css js---------------------->
</head>

<body data-type="">
<div class="am-g tpl-g">
    <!-- 头部 -->
    <header class="tpl-header">
        <!-- 右侧内容 -->
        <div class="tpl-header-fluid">
            <!-- 侧边切换 -->
            <div class="am-fl tpl-header-button switch-button">
                <i class="iconfont icon-menufold"></i>
            </div>
            <!-- 刷新页面 -->
            <div class="am-fl tpl-header-button refresh-button">
                <i class="iconfont icon-refresh"></i>
            </div>
            <!-- 其它功能-->
            <div class="am-fr tpl-header-navbar">
                <ul>
                    <!-- 欢迎语 -->
                    <li class="am-text-sm tpl-header-navbar-welcome">
                        <a href="<?= url('store.user/renew') ?>">欢迎你，<span><?= $store['user']['user_name'] ?></span>
                        </a>
                    </li>
                    <!-- 退出 -->
                    <li class="am-text-sm">
                        <a href="<?= url('passport/logout') ?>">
                            <i class="iconfont icon-tuichu"></i> 退出
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </header>
    <!-- 侧边导航栏 -->
    <div class="left-sidebar">
        <?php $menus = $menus ?: []; ?>
        <?php $group = $group ?: 0; ?>
        <!-- 一级菜单 -->
        <ul class="sidebar-nav">
            <li class="sidebar-nav-heading"><?= $setting['store']['values']['name'] ?></li>
            <?php foreach ($menus as $key => $item): ?>
                <li class="sidebar-nav-link">
                    <a href="<?= isset($item['index']) ? url($item['index']) : 'javascript:void(0);' ?>"
                       class="<?= $item['active'] ? 'active' : '' ?>">
                        <?php if (isset($item['is_svg']) && $item['is_svg'] === true): ?>
                            <svg class="icon sidebar-nav-link-logo" aria-hidden="true">
                                <use xlink:href="#<?= $item['icon'] ?>"></use>
                            </svg>
                        <?php else: ?>
                            <i class="iconfont sidebar-nav-link-logo <?= $item['icon'] ?>"
                               style="<?= isset($item['color']) ? "color:{$item['color']};" : '' ?>"></i>
                        <?php endif; ?>
                        <?= $item['name'] ?>
                    </a>
                </li>
            <?php endforeach; ?>
        </ul>
        <!-- 子级菜单-->
        <?php $second = isset($menus[$group]['submenu']) ? $menus[$group]['submenu'] : []; ?>
        <?php if (!empty($second)) : ?>
            <ul class="left-sidebar-second">
                <li class="sidebar-second-title"><?= $menus[$group]['name'] ?></li>
                <li class="sidebar-second-item">
                    <?php foreach ($second as $item) : ?>
                        <?php if (!isset($item['submenu'])): ?>
                            <!-- 二级菜单-->
                            <a href="<?= url($item['index']) ?>" class="<?= $item['active'] ? 'active' : '' ?>">
                                <?= $item['name']; ?>
                            </a>
                        <?php else: ?>
                            <!-- 三级菜单-->
                            <div class="sidebar-third-item">
                                <a href="javascript:void(0);"
                                   class="sidebar-nav-sub-title <?= $item['active'] ? 'active' : '' ?>">
                                    <i class="iconfont icon-caret"></i>
                                    <?= $item['name']; ?>
                                </a>
                                <ul class="sidebar-third-nav-sub">
                                    <?php foreach ($item['submenu'] as $third) : ?>
                                        <li>
                                            <a class="<?= $third['active'] ? 'active' : '' ?>"
                                               href="<?= url($third['index']) ?>">
                                                <?= $third['name']; ?></a>
                                        </li>
                                    <?php endforeach; ?>
                                </ul>
                            </div>
                        <?php endif; ?>
                    <?php endforeach; ?>
                </li>
            </ul>
        <?php endif; ?>
    </div>

    <!-- 内容区域 start -->
    <div class="tpl-content-wrapper <?= empty($second) ? 'no-sidebar-second' : '' ?>">
        {__CONTENT__}
    </div>
    <!-- 内容区域 end -->

</div>
<script src="assets/layer/layer.js"></script>
<script src="/assets/store/js/jquery.form.min.js"></script>
<script src="/assets/store/js/amazeui.min.js"></script>
<script src="/assets/store/js/webuploader.html5only.js"></script>
<script src="/assets/store/js/art-template.js"></script>
<script src="/assets/store/js/app.js"></script>
<script src="/assets/store/js/file.library.js"></script>
</body>

</html>
